import React, { Component } from "react";

import SpiralImage from "src/Images/PNG/Spiral.png";
import { Stage } from "react-pixi-fiber";

export default class Spiral extends Component {
    componentDidMount() {
        const spiral = new Image();
        spiral.src = SpiralImage;
        spiral.onload = function() {
            context.drawImage(spiral, 0, 0);
        };
    }
    render() {
        return (
            <canvas ref={this.canvas} width={300} height={300}>
                {" "}
            </canvas>
        );
    }
}
